<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=no">
    <meta http-equiv="X-UA-Compatible" content="ie=edge,chrome=1">
    <meta name="author" content="明月">
    <title>透明度</title>
    <style>
        * {
            box-sizing: border-box;
        }

        body {
            margin: 0;
        }

        main {
            width: 800px;
            margin: 0 auto;
            border: 1px solid red;
        }

        ul {
            list-style: none;
            display: flex;
            justify-content: space-between;
        }

        li {
            opacity: 0.1;
        }

        li:hover {
            opacity: 1;
        }
    </style>
</head>

<body>
    <main>
        <ul>
            <li>
                <img src="img/1.jpg" alt="">
            </li>
            <li>
                <img src="img/2.jpg" alt="">
            </li>
            <li>
                <img src="img/3.jpg" alt="">
            </li>
            <li>
                <img src="img/4.jpg" alt="">
            </li>
            <li>
                <img src="img/5.jpg" alt="">
            </li>
        </ul>
        <ul>
            <li>
                <img src="img/6.jpg" alt="">
            </li>
            <li>
                <img src="img/7.jpg" alt="">
            </li>
            <li>
                <img src="img/8.jpg" alt="">
            </li>
            <li>
                <img src="img/9.jpg" alt="">
            </li>
            <li>
                <img src="img/10.jpg" alt="">
            </li>
        </ul>

    </main>

</body>

</html>